<button
  nz-tooltip
  nz-trans-button
  [nzTitle]="copied ? locale?.copied : locale?.copy"
  class="ant-typography-copy"
  [class.ant-typography-copy-success]="copied"
  (click)="onClick()">
  <i nz-icon [nzType]="copied ? 'check' : 'copy'"></i>
</button>

